<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/white/common/common.jsp"%>
<%@include file="/white/common/taglibs.jsp"%>
<html>
<head>
<script type="text/javascript">
        <!--
        function submitForm(){
            var searchForm=document.getElementById("searchForm");
            searchForm.submit();
        }

        function notAllowedLockSelf(id){
            var searchForm=document.getElementById("searchForm");
            searchForm.action="userAction-"+id+"!lock.action";
            searchForm.submit();
        }

        function displayResult(){
            var result = "<s:property value='result'/>";
            if(result != null && result != ""){
                alert(result);
            }
        }

    //-->
    </script>
</head>
<body onload="displayResult()">
<s:form method="post" action="alarmInfoUserAction!queryByPage.action"
	theme="simple" id="searchForm">
	<div id="div_title">
	<h3>告警处理人管理</h3>
	<div id="div_search"></div>
	</div>
	<div id="div_button"><%@include file="/white/common/message.jsp"%>
	</div>
	<!--列表 -->
	<table cellpadding="0" cellspacing="0" class="t_list">
		<tr>
			<!--列表头部 -->
			<th>告警类别</th>
			<th>告警类别描述</th>
			<th colspan="2">告警处理人</th>

		</tr>
		<s:iterator value="resultList" status="sindex">
			<tr>
				<td width="80"><s:property value="ALARM_TYPE"/></td>
				<td width="160"><s:property value="ALARM_TYPE_NAME" /></td>
				<td width="40"><a
					href="<c:out value="${ctx}"/>/alarmInfoUserAction-${ALARM_TYPE}!toEdit.action">
				<img alt="告警处理人" src="ca/images/users.png" width="25" height="25" />
				</a></td>
				<td><s:property value="USERS" /></td>
			</tr>
		</s:iterator>
	</table>
	<!--列表结束-->
	<!--分页-->
	<s:if test="resultList.size() > 0">
		<table border="0" cellspacing="0" cellpadding="0" class="t_bottom">
			<tr>
				<td><%@include file="/white/common/pageList.jsp"%></td>
			</tr>
		</table>
	</s:if>
	<!--分页结束-->

</s:form>
</body>
</html>
